<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        /* a:link {
            color: red;
        }

        a:visited {
            color: green;
        }

        a:hover {
            color: blue;
        }

        a:active {
            color: orange;
        } */
         工作中实际写法
         a{
            color: red;
         }

         a:hover {
            color: green;
         }
    </style>
</head>
<body>
    <a href="#">a标签，测试伪类</a>
</body>
</html>